package com.team.myzhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.myzhxy.pojo.LoginForm;
import com.team.myzhxy.pojo.Teacher;

/**
 * @author liminghui
 * @ClassName TeacherService
 * @date 2022/5/25 10:21 下午
 */
public interface TeacherService extends IService<Teacher> {

    Teacher login(LoginForm loginForm);

    Teacher getByTeacherById(Long userId);

    IPage<Teacher> getTeachersByOpr(Page<Teacher> paraParam, Teacher teacher);
}
